#if !defined(AFX_DLGADDNEW_H__178E52B7_93D6_4927_9BC6_0F36BC01EEDB__INCLUDED_)
#define AFX_DLGADDNEW_H__178E52B7_93D6_4927_9BC6_0F36BC01EEDB__INCLUDED_

#include "HotEdit.h"	// Added by ClassView
#include "NumHotEdit.h"
#include "CJFlatComboBox.h"	// Added by ClassView
#include "BtnST.h"	// Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DlgAddNew.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CDlgAddNew dialog

class CDlgAddNew : public CDialog
{
// Construction
public:
	~CDlgAddNew();
	CDlgAddNew(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CDlgAddNew)
	enum { IDD = IDD_DLG_ADDNEW };
	CTime	m_pickdate;
	CString	m_stcTips;
	CTime	m_dateEnd;
	CString	m_stcDateBeg;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CDlgAddNew)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	_RecordsetPtr m_pBankset;
	_RecordsetPtr m_pAccountset;
	_RecordsetPtr m_pRecordset;

	// Generated message map functions
	//{{AFX_MSG(CDlgAddNew)
	virtual BOOL OnInitDialog();
	afx_msg void OnAppend();
	afx_msg void OnQuit();
	afx_msg void OnSelchangeCmbFlow();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	void ResizeDlgByFlow();
	CHotEdit m_edCerificate;
	CHotEdit m_edBankRate;
	CHotEdit m_edBankName;
	RECT m_dlgRect;
	BOOL m_bAdded;
	CNumHotEdit m_edAccount;
	CHotEdit m_edComment;
	CCJFlatComboBox m_cmbOwner;
	CCJFlatComboBox m_cmbPurpose;
	CCJFlatComboBox m_cmbFlow;
	CButtonST m_btnQuit;	// quit
	CButtonST m_btnOk;		// append
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_DLGADDNEW_H__178E52B7_93D6_4927_9BC6_0F36BC01EEDB__INCLUDED_)
